
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
public class GetAdd {
      public static void main(String[] args) throws IOException {
        InputStreamReader in2=new InputStreamReader(System.in);
        BufferedReader in3=new BufferedReader(in2);
          System.out.println("请输入第一个数:");
          float first=Float.parseFloat(in3.readLine());
          System.out.println();
          System.out.println("请输入第二个人数");
        float second=Float.parseFloat(in3.readLine());
         System.out.println();
        System.out.println("请输入第三个人数");
        float third=Float.parseFloat(in3.readLine());
         System.out.println();
          System.out.println("这三个数的总和:");
          System.out.println(first+second+third);
        
      }
}
